Ever wanted to print the contents of a field? Well, now you can with the xcmd. The only required parameter is the text to be printed. Optional parameters are:
Fontname: The name of the font you want to use. The default is Monaco.
Fontsize: The size of the font. The default is 9 point.
Fontstyle: The style of the font. Choose from "plain", "bold","italic","outline",
"underline", "shadow", "condensed", or "extended". (Or just "p","b","i","o","u","s","c" or "e"). The default is plain.
PageNumbers: Use "PageNumbers" or "True" (or "P" or "T") to print the page number on the paper. The default is "False".
Dialog: Use "Dialog", "D", "True" or "T" for the Printing dialog. The default is false.
Justification: Use "Left" for left justification, "Right" for right, and "Center" for centered text. (Or "L","R" or "C"). The default is "Left".
Gary Bond originally wrote this as HardCopy, but I have made a few minor changes (for the better), so I am calling it PrintText.